using JESAI.CmdTool.CmdRunners.Commands;
using JESAI.CmdTool.CmdRunners.Runner.Arguments;
using System;

namespace JESAI.CmdTool.CmdRunners.Runner.Shells
{
    public class CmdShell : ProcessRunner
    {
        private readonly Lazy<IArgumentBuilder> argumentBuilder = new Lazy<IArgumentBuilder>(() => new CmdArgumentBuilder());

        protected override IArgumentBuilder ArgumentBuilder
        {
            get { return argumentBuilder.Value; }
        }

        public override ICommando GetCommand()
        {
            return new CmdCommando(this);
        }
    }
}